﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ocelot.Admin.Api.Application
{
    public class UpdateProjectRequest
    {
        /// <summary>
        /// 项目Id
        ///</summary>
        [Required]
        public long Id { get; set; }

        /// <summary>
        /// 项目名称
        ///</summary>
        [Required]
        public string ProjectName { get; set; }
        /// <summary>
        /// 项目编码
        /// </summary>
        [Required] public string ProjectCode { get; set; }

        /// <summary>
        /// 排序字段
        ///</summary>
        [Required]
        public int OrderIndex { get; set; }
        /// <summary>
        /// 默认的请求服务器  gateway.test.com:80;gateway1.test.com
        /// </summary>
        public string Servers { get; set; }
    }
}
